home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / andere sprachen / gamesmaster / includes / games / gamesbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-16  |  2.8 KB  |  89 lines

  1. #ifndef GAMES_GMSBASE_H
  2. #define GAMES_GMSBASE_H
  3. /*
  4. **    $VER: gamesbase.h 0.1 (27.5.96)
  5. **    Includes Release xx.xx
  6. **
  7. **    Definition of the games.library base structure.
  8. **
  9. **    (C) Copyright 1996 DreamWorld Productions.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h"
  15. #endif
  16. #ifndef EXEC_LISTS_H
  17. #include <exec/lists.h>
  18. #endif
  19. #ifndef EXEC_LIBRARIES_H
  20. #include <exec/libraries.h>
  21. #endif
  22.  
  23.  struct    GMSBase
  24.   {
  25.   struct Library LibNode;         /* Standard library stuff */
  26.   
  27.   ULONG  RandomSeed;              /* Random seed */
  28.   UWORD  SYS_CPU;                 /* '000, '010, '020, '030, '040, '060 */
  29.   
  30.   WORD   OldMouseX1;              /* Private */
  31.   WORD   OldMouseY1;              /* Private */
  32.   WORD   OldMouseX2;              /* Private */
  33.   WORD   OldMouseY2;              /* Private */
  34.   WORD   MouseX1;                 /* Current mouse position X (port 1) */
  35.   WORD   MouseY1;                 /* Current mouse position Y (port 1) */
  36.   WORD   MouseX2;                 /* Current mouse position X (port 2) */
  37.   WORD   MouseY2;                 /* Current mouse position Y (port 2) */
  38.  
  39.   UWORD  MouseButtons1;
  40.   UWORD  MouseButtons2;
  41.  
  42.   UWORD  MX_AreaWidth;            /* Mouse - maximum X position */
  43.   UWORD  MY_AreaHeight;           /* Mouse - maximum Y position */
  44.   
  45.   UWORD  VBL_Position;            /* VBL Position (End of Screen mark) */
  46.   APTR   CurrentScreen;           /* Ptr to currently displayed screen */
  47.   
  48.   UWORD  BlitterUsed;             /* 0 = Free, 1 = Grabbed */
  49.   
  50.   APTR   PRF_JoyEmuKeys;
  51.   APTR   PRF_CallingList;
  52.   
  53.   APTR   PRF_ScreensFile;         /* Location of the file (offset from */
  54.   APTR   PRF_BlitterFile;         /* the start of the prefs file) */
  55.   APTR   PRF_SoundFile;
  56.   APTR   PRF_NetworkFile;
  57.   APTR   PRF_VectorsFile;
  58.   APTR   PRF_C2PFile;
  59.   
  60.   APTR   PRF_MusicRD1;
  61.   APTR   PRF_MusicRD2;
  62.   APTR   PRF_MusicRD3;
  63.   APTR   PRF_MusicRD4;
  64.   APTR   PRF_MusicRD5;
  65.   APTR   PRF_MusicRD6;
  66.   APTR   PRF_MusicRD7;
  67.   APTR   PRF_MusicRD8;
  68.   
  69.   UBYTE  PRF_AmigaChipSet;        /* OCS/ECS/AGA */
  70.   UBYTE  PRF_ModePromote;         /* Promotion of the monitor sync */
  71.   UBYTE  PRF_GfxBoard;            /* GfxBoard, if any */
  72.   UWORD  PRF_JoyType1;            /* Type of Joystick in port 1 */
  73.   UWORD  PRF_JoyType2;            /* Type of Joystick in port 2 */
  74.   UBYTE  PRF_JoyEmulation;        /* Joystick emulation on/off */
  75.   UBYTE  PRF_UserPri;             /* User priority */
  76.   UBYTE  PRF_VectorDetail;        /* Level of vector detail */
  77.   UBYTE  PRF_Music;               /* Music on or off? */
  78.   UBYTE  PRF_Sound;               /* Sound on or off? */
  79.   UBYTE  PRF_Network;             /* Type of networking to use */
  80.   UBYTE  PRF_Reserved;
  81.   UWORD  PRF_TopOfScrX;           /* Top of Screen X */
  82.   UWORD  PRF_TopOfScrY;           /* Top of Screen Y */
  83.   };
  84.  
  85. #define GMSNAME "games.library"
  86.  
  87. #endif /* GAMES_GMSBASE_H */
  88.  
  89.